<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<input type="hidden" name="zh_parsen/fzr_name" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name"/>"/>
<input type="hidden" name="zh_parsen/fzr_mobile" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile"/>"/>
<input type="hidden" name="zh_parsen/fzr_tel" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work"/>"/>
<input type="hidden" name="zh_parsen/fzr_email" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email"/>"/>
<div class="t_bar">中心及依托单位基本情况</div>
<table class="t_css" width="100%" id="table_01">
    <col style="width: 15%;" />
    <col style="width: 15%;" />
    <col style="width: 15%;" />
    <col style="width: 15%;" />
    <col style="width: 15%;" />
    <col style="width: 15%;" />
    <tr>
        <td align="right">拟建名称：</td>
        <td colspan="2">
            <x:out select="$xmlData/data/proposal/zh_title"/>安徽省基础学科研究中心
        </td>
        <td align="right"><span class="color_red">*</span>技术领域：</td>
        <td  colspan="2">
            <x:out select="$xmlData/data/proposal/applicant_subject6_name" />
        </td>
    </tr>
    <tr>
        <td align="right"><span class="color_red">*</span>学科领域：</td>
        <td colspan="2">
            <x:out select="$xmlData/data/proposal/applicant_subject_name" />
        </td>
        <td align="right"><span class="color_red">*</span>是否属于一流、高峰（培育）学科：</td>
        <td  colspan="2">
            <c:set var="economic_type_value">
                <x:out select="$xmlData/data/proposal/economic_type_value" />
            </c:set>
            <c:set var="economic_type_other">
                <x:out select="$xmlData/data/proposal/economic_type_other" />
            </c:set>
            <cpt:checkbox key="peak" name="economic_type"
                          width="25%" repeatColumn="3" value="${economic_type_value }"
                          lastOther="true" otherId="economic_type_other" showFlag="view"
                          otherValueName="${economic_type_other }"></cpt:checkbox>
        </td>
    </tr>
    <tr>
        <td  align="right">归口管理部门：</td>
        <td colspan="5"><x:out select="$xmlData/data/proposal/recomend_org_name" /></td>
    </tr>
    <tr>
        <td rowspan="3" align="right">中心主任：</td>
        <td align="right">姓名：</td>
        <td>
            <x:out select="$xmlData/data/proposal/fzr_psnname"/>
        </td>
        <td align="right">出生日期：</td>
        <td colspan="2" align="center">
            <x:out select="$xmlData/data/proposal/fzr_birthday"/>
        </td>
    </tr>
    <tr>
        <td align="right">职称：</td>
        <td>
            <x:out select="$xmlData/data/proposal/fzr_prof_title_name"/>
        </td>
        </td>
        <td align="right">职务：</td>
        <td colspan="2">
            <x:out select="$xmlData/data/proposal/fzr_position"/>
        </td>
    </tr>
    <tr>
        <td align="right">专业专长：</td>
        <td>
            <x:out select="$xmlData/data/proposal/fzr_major_work"/>
        </td>
        <td align="right">最高学位 ：</td>
        <td colspan="2">
            <x:out select="$xmlData/data/proposal/fzr_degree_name"/>
        </td>
    </tr>
    <tr>
        <td rowspan="3" align="right"><span class="color_red">*</span>联系人：</td>
        <td align="right">姓名：</td>
        <td >
            <x:out select="$xmlData/data/proposal/contact_psn_cname" />
        </td>
        <td align="right">手机号码：</td>
        <td colspan="2">
            <x:out select="$xmlData/data/proposal/contact_psn_mobile" />
        </td>
    </tr>
    <tr>
        <td align="right">邮箱：</td>
        <td >
            <x:out select="$xmlData/data/proposal/contact_psn_email" />
        </td>
        <td align="right">传真：</td>
        <td colspan="2">
            <x:out select="$xmlData/data/proposal/contact_psn_fax" />
        </td>
    </tr>
    <tr>
        <td align="right">通讯地址：</td>
        <td colspan="4">
            <x:out select="$xmlData/data/proposal/contact_psn_address" />
        </td>
    </tr>
</table>

<table class="t_css" width="100%" id="table_02" style="text-align: center;">
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 14%" />
    <col style="width: 14%" />
    <col style="width: 13%" />
    <col style="width: 13%" />
    <col style="width: 13%" />
    <col style="width: 13%" />

    <tr>
        <td colspan="2" rowspan="2"><span class="color_red">*</span>近五年来承担课题</td>
        <td colspan="6">其中</td>
    </tr>
    <tr>
        <td colspan="2">国家级项目</td>
        <td colspan="2">省部级项目</td>
        <td colspan="2">横向课题</td>
    </tr>
    <tr>
        <td rowspan="7">
            年度实到经费
        </td>
        <td>年度</td>
        <td>项目（项）</td>
        <td>经费（万元）</td>
        <td>项目（项）</td>
        <td>经费（万元）</td>
        <td>项目（项）</td>
        <td>经费（万元）</td>
    </tr>
    <tr>

        <td align="center" ><span name="proposal/topic_level1_year1">${statYear-1}</span>年</td>

        <td>
            <x:out select="$xmlData/data/proposal/topic_level1_year1_count" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level1_year1_fund" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level2_year1_count" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level2_year1_fund" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level3_year1_count" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level3_year1_fund" />
        </td>
    </tr>
    <tr>


        <td align="center" ><span name="proposal/topic_level1_year2">${statYear-2}</span>年</td>



        <td>
            <x:out select="$xmlData/data/proposal/topic_level1_year2_count" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level1_year2_fund" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level2_year2_count" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level2_year2_fund" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level3_year2_count" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level3_year2_fund" />
        </td>
    </tr>
    <tr>

        <td align="center" ><span name="proposal/topic_level1_year3">${statYear-3}</span>年</td>

        <td>
            <x:out select="$xmlData/data/proposal/topic_level1_year3_count" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level1_year3_fund" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level2_year3_count" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level2_year3_fund" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level3_year3_count" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level3_year3_fund" />
        </td>
    </tr>
    <tr>
        <td align="center" ><span name="proposal/topic_level1_year4">${statYear-4}</span>年</td>

        <td>
            <x:out select="$xmlData/data/proposal/topic_level1_year4_count" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level1_year4_fund" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level2_year4_count" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level2_year4_fund" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level3_year4_count" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level3_year4_fund" />
        </td>
    </tr>
    <tr>
        <td align="center" ><span name="proposal/topic_level1_year5">${statYear-5}</span>年</td>

        <td>
            <x:out select="$xmlData/data/proposal/topic_level1_year5_count" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level1_year5_fund" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level2_year5_count" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level2_year5_fund" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level3_year5_count" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level3_year5_fund" />
        </td>
    </tr>
    <tr>
        <td>合计</td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level1_total_count" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level1_total_fund" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level2_total_count" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level2_total_fund" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level3_total_count" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/topic_level3_total_fund" />
        </td>
    </tr>
</table>

<table class="t_css" width="100%" id="table_03" style="text-align: center;">
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <tr>
        <td rowspan="6"><span class="color_red">*</span>近五年研究成果</td>
        <td rowspan="3">
            获奖<br />（项）
        </td>
        <td colspan="2">国家科技奖</td>
        <td colspan="3">省级科技奖</td>
        <td colspan="3">其他类型科技奖</td>
    </tr>
    <tr>
        <td>一等</td>
        <td>二等</td>
        <td>一等</td>
        <td>二等</td>
        <td>三等</td>
        <td>一等</td>
        <td>二等</td>
        <td>三等</td>
    </tr>
    <tr>
        <td>
            <x:out select="$xmlData/data/proposal/research_findings_winning_status1_level1" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/research_findings_winning_status1_level2" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/research_findings_winning_status2_level1" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/research_findings_winning_status2_level2" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/research_findings_winning_status2_level3" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/research_findings_winning_status3_level1" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/research_findings_winning_status3_level2" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/research_findings_winning_status3_level3" />
        </td>
    </tr>
    <tr>
        <td rowspan="2">
            论文<br />（篇）
        </td>
        <td>SCI</td>
        <td>EI</td>
        <td>核心</td>
        <td rowspan="2">发明专利（件）</td>
        <td>申报</td>
        <td>
            <x:out select="$xmlData/data/proposal/research_findings_paper_status1" />
        </td>
        <td rowspan="2">专著（部）</td>
        <td rowspan="2">
            <x:out select="$xmlData/data/proposal/research_findings_paper_status2" />
        </td>
    </tr>
    <tr>
        <td>
            <x:out select="$xmlData/data/proposal/research_findings_paper_status3" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/research_findings_paper_status4" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/research_findings_paper_status5" />
        </td>
        <td>授权</td>
        <td>
            <x:out select="$xmlData/data/proposal/research_findings_paper_status6" />
        </td>
    </tr>
    <tr>
        <td colspan="2">技术转让（项）</td>
        <td colspan="2">
            <x:out select="$xmlData/data/proposal/research_findings_technology_transfer" />
        </td>
        <td colspan="3">技术转让收益（万元）</td>
        <td colspan="2">
            <x:out select="$xmlData/data/proposal/research_findings_technology_transfer_fund" />
        </td>
    </tr>
</table>
<table class="t_css" width="100%" id="table_04" style="text-align: center;">
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <tr>
        <td rowspan="2"><span class="color_red">*</span>研究队伍</td>
        <td>总数</td>
        <td>国家级人才</td>
        <td>省级人才</td>
        <td>高级职称</td>
        <td>其中博士</td>
        <td>其中硕士</td>
        <td>35岁以下</td>
        <td>35-50岁</td>
        <td>50岁以上</td>
    </tr>
    <tr>
        <td>
            <x:out select="$xmlData/data/proposal/research_team_total" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/research_team_count_stutas1" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/research_team_count_stutas2" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/research_team_count_stutas3" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/research_team_count_stutas4" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/research_team_count_stutas5" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/research_team_count_stutas6" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/research_team_count_stutas7" />
        </td>
        <td>
            <x:out select="$xmlData/data/proposal/research_team_count_stutas8" />
        </td>
    </tr>
</table>

<table class="t_css" width="100%" style="text-align: center;" id="table_05">
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <tr>
        <td rowspan="2"><span class="color_red">*</span>科研基础</td>
        <td>
            研究单元数
        </td>
        <td colspan="2">
            研究中心面积<br />（平方米）
        </td>
        <td colspan="2">
            仪器设备总值<br />（万元）
        </td>
        <td colspan="2">大型设备（台/套）</td>
        <td colspan="2">
            近三年经费投入<br />（万元）
        </td>
    </tr>
    <tr>
        <td>
            <x:out select="$xmlData/data/proposal/research_base_stutas1" />
        </td>
        <td colspan="2">
            <x:out select="$xmlData/data/proposal/research_base_stutas2" />
        </td>
        <td colspan="2">
            <x:out select="$xmlData/data/proposal/research_base_stutas3" />
        </td>
        <td colspan="2">
            <x:out select="$xmlData/data/proposal/research_base_stutas4" />
        </td>
        <td colspan="2">
            <x:out select="$xmlData/data/proposal/research_base_stutas5" />
        </td>
    </tr>
</table>

<table class="t_css" width="100%" id="table_06">
    <col style="width: 15%;" />
    <col style="width: 15%;" />
    <col style="width: 15%;" />
    <col style="width: 15%;" />
    <col style="width: 15%;" />
    <col style="width: 15%;" />

    <tr>
        <td rowspan="4" align="right">依托单位：</td>
        <td align="right">单位名称：</td>
        <td>
            <x:out select="$xmlData/data/organizations/organization[@submit_org='1']/org_name" />
        </td>
        <td align="right"><span class="color_red">*</span>单位性质：</td>
        <td colspan="2">
            <x:out select="$xmlData/data/proposal/unit_natures_name" />
        </td>
    </tr>
    <tr>
        <td align="right">法定代表人：</td>
        <td>
           <span >
				<x:out select="$xmlData/data/organization_persons/cname" />
		    </span>
        </td>
        </td>
        <td align="right">证件类型：</td>
        <td colspan="2">
            <span >
				<x:out select="$xmlData/data/organization_persons/id_type_name" />
		    </span>
        </td>
    </tr>
    <tr>
        <td align="right">证件号码：</td>
        <td>
            <span >
				<x:out select="$xmlData/data/organization_persons/id_no" />
		    </span>
        </td>
        <td align="right"><span class="color_red">*</span>属地 ：</td>
        <td colspan="2">
            <x:out select="$xmlData/data/proposal/territoriality_name" />
        </td>
    </tr>
    <tr>
        <td align="right">统一社会信用代码：</td>
        <c:set var="org_shxy_no">
            <x:out
                    select="$xmlData/data/organizations/organization[@submit_org='1']/org_shxy_no" />
        </c:set>
        <c:if test="${empty org_shxy_no }">
            <c:set var="org_shxy_no">
                <x:out
                        select="$xmlData/data/organizations/organization[@submit_org='1']/org_no" />
            </c:set>
        </c:if>
        <td>
            <span>${org_shxy_no}</span>
        </td>
        <td align="right">所在地市 ：</td>
        <td colspan="2">
            <span ><x:out select="$xmlData/data/organizations/organization[@submit_org='1']/area_name" /></span>
        </td>
    </tr>
</table>

<div class="t_bar">
    主要研究方向
</div>
<table id="eq_table1" class="t_css" width="100%">
    <col style="width: 10%" />
    <col style="width: 90%" />
    <thead>
    <tr style="border: 1px solid #B7D1E6">
        <th class="TblHead" align="center">序号</th>
        <th class="TblHead" align="center">研究方向</th>
    </tr>
    </thead>
    <tbody id="tab">
    <c:set value="0" var="index" scope="page" />
    <x:forEach select="$xmlData/data/achievements/achievement" var="achievement">
        <c:choose>
            <c:when test="${index<10}">
                <c:set value="0" var="flag" scope="page" />
            </c:when>
            <c:otherwise>
                <c:set value="" var="flag" scope="page" />
            </c:otherwise>
        </c:choose>
        <tr>
            <td align="center">
                <span><x:out select="$achievement/@seq_no" /></span>
            </td>
            <td align="center">
                <x:out select="$achievement/research_direction" />
            </td>
        </tr>
        <c:set value="${index+1}" var="index" scope="page" />
    </x:forEach>
    </tbody>
</table>

<div class="t_bar">
    合作共建单位
</div>
<table id="eq_table2" class="table01 t_css" cellpadding="0"  width="100%" style="*border-bottom: #a1c0dc 1px solid;">
    <col style="width: 10%">
    <col style="width: 19%">
    <col style="width: 12%">
    <col style="width: 12%">
    <col style="width: 12%">
    <col style="width: 17%">
    <col style="width: 17%">
    <thead>
    <tr style="border: 1px solid #B7D1E6">
        <th class="TblHead" align="center">序号</th>
        <th class="TblHead" align="center">单位名称</th>
        <th class="TblHead" align="center">单位性质</th>
        <th class="TblHead" align="center">属地</th>
        <th class="TblHead" align="center">是否签订有效合作协议</th>
        <th class="TblHead" align="center">所在地市</th>
        <th class="TblHead" align="center">优势领域方向</th>
    </tr>
    </thead>
    <tbody id="tab1">
    <c:set value="0" var="index" scope="page" />
    <x:forEach select="$xmlData/data/org_hzs/org_hz" var="org_hz">
        <c:choose>
            <c:when test="${index<10}">
                <c:set value="0" var="flag" scope="page" />
            </c:when>
            <c:otherwise>
                <c:set value="" var="flag" scope="page" />
            </c:otherwise>
        </c:choose>
        <tr>
            <td align="center">
                    <span><x:out select="$org_hz/@seq_no" /></span>
            </td>
            <td align="center">
                <x:out select="$org_hz/org_hz_name" />
            </td>
            <td align="center" >
                <x:out select="$org_hz/unit_natures_name" />
            </td>

            <td align="center" >
                <x:out select="$org_hz/territoriality_name" />
            </td>
            <td align="center" >
                <x:out select="$org_hz/effective_agreement_name" />
            </td>
            <td align="center">
                <x:out select="$org_hz/org_hz_market" />
            </td>
            <td align="center">
                <x:out select="$org_hz/org_hz_direction" />
            </td>
        </tr>
        <c:set value="${index+1}" var="index" scope="page" />
    </x:forEach>
    </tbody>
</table>